From df8a199bd05a115472208da9d8bc0550f086bf29 Mon Sep 17 00:00:00 2001 From: "kfraser@localhost.localdomain" Date: Wed, 14 Feb 2007 15:54:47 +0000 Subject: [PATCH] Another domctl fix to insert missing copy_to_guest. Signed-off-by: Gerd Hoffmann --- xen/arch/x86/domctl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xen/arch/x86/domctl.c b/xen/arch/x86/domctl.c index 2f06d73cb1..69e2259d7f 100644 --- a/xen/arch/x86/domctl.c +++ b/xen/arch/x86/domctl.c @@ -412,6 +412,9 @@ long arch_do_domctl( ret = 0; put_domain(d); + + if ( copy_to_guest(u_domctl, domctl, 1) ) + ret = -EFAULT; } break; -- 2.30.2